<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'tmID'); ?>
		<?php echo $form->textField($model,'tmID'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vendorID'); ?>
		<?php echo $form->dropDownLIst($model,'vendorID',CHtml::listData(Vendor::getList('ALL',array()), 'vendorID', 'vendor_name'),array('empty'=>'Select Vendor')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'screened'); ?>
		<?php echo $form->dropDownLIst($model,'screened',array('1'=>'Yes','0'=>'No',),array('empty'=>'Select Show On-screen')); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->